<template>
  <div class="home w_p100 h_p100">
    <header-sec></header-sec>
    <div class="content w_p100">
      <left-side></left-side>
      <div class="right h_p100 fr">
        <bread></bread>

        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
import leftSide from './components/leftSide'
import headerSec from './components/header'
// import userinfo from './components/userinfo'

export default {
  components: {
    leftSide,
    headerSec
    // userinfo

  },
  computed: {
    flag () {
      return this.$route.path
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  height: calc(100% - 60px);
  // background-color: pink;
  .right {
    width: calc(100% - 240px);
    background-color: #f2f4f8;
    overflow: auto;
    .userinfo {
      width: 100%;
      height: 100%;
      padding: 24px;
    }
  }
}
</style>
